package ru.nsu.fit.ws.send_answer;

/**
 * Created by IntelliJ IDEA.
 * User: vtimofeev
 * Date: 12/6/12
 * Time: 9:14 AM
 * To change this template use File | Settings | File Templates.
 */
public class AnswerOutput {

    private boolean isSuccessful;

    public boolean isSuccessful() {
        return isSuccessful;
    }

    public void setSuccessful(boolean successful) {
        isSuccessful = successful;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    private int errorCode;
    private String errorMessage;
}
